package com.site.common.enums;

public enum  ResponseCode implements BaseCodeEnum{
    ERROR(1,"操作失败"),
    SUCCESS(0,"操作成功");

    private int code;
    private String message;

    ResponseCode(int code,String message){
        this.code = code;
        this.message = message;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
